import Tips from '@/components/tips';
import UploadImg from '@/components/uploadImg'


import Vue from 'vue'
const components = [
    // Tips,
    UploadImg
]

const install = function(Vue = {}) {
    components.forEach(component => {
        Vue.component(component.name, component);
    });

    Vue.prototype.$Tips = Tips.install
};


// if (typeof window !== 'undefined' && window.Vue) {
//     install(window.Vue);
// }
install(Vue);

